import request from '@/utils/request'

/**
 * 分页
 */
export function admin_comments_page(params) {
  return request({
    url: '/api/orderAppraiseInfo/pagination',
    method: 'post',
    data: params
  })
}

/**
 * 详情
 */
export function admin_comments_detail(params) {
  return request({
    url: `/api/orderAppraiseInfo/${params.id}`,
    method: 'get',
    data: params
  })
}

/**
 * 回复
 */
export function admin_comments_reply(params) {
  return request({
    url: `/api/orderAppraiseInfo/${params.id}`,
    method: 'put',
    data: params.content
  })
}
